<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
    <title>快乐购1号店(周博)</title>
    <link rel="stylesheet" type="text/css" href="/Application/Home/Common/css/head.css"/>
    <link rel="stylesheet" type="text/css" href="/Application/Home/Common/css/index.css"/>
    <link rel="stylesheet" type="text/css" href="/Application/Home/Common/css/footer.css"/>
   

    <!-- 自定义样式 -->
    

<script src="/Application/Home/Common/js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
 <script type="text/javascript" charset="utf-8" src="/Application/Home/Common/js/jquery.countdown.js"></script>

<script type="text/javascript" charset="utf-8" src="/Public/utf8-php/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/Public/utf8-php/ueditor.all.min.js"> </script>
     <script type="text/javascript" charset="utf-8" src="/Public/utf8-php/lang/zh-cn/zh-cn.js"></script>


  <?php echo hook('pageHeader');?>
</head>
<body>
	<!-- 头部 -->
	<div class="header">
    <!--顶部导航-->
      <div class="header_top">
        <div class="w1200">
          <div class="h_t_l">
        <?php if(is_login()): ?><div class="login_l">
                <span>
                欢迎<b class="caret"><?php echo get_username();?></b>来到快乐购!</span>
                    <a class="a_login" href="<?php echo U('User/profile');?>">[修改密码]</a>
                <span class="line"></span>
                <a class="" href="<?php echo U('User/logout');?>">[退出]</a>
            </div>
            <?php else: ?>
                <a class="a_login" href="<?php echo U('User/login');?>">[登录]</a>
                <span class="line"></span>
                <a class="" href="<?php echo U('User/register');?>">[注册]</a><?php endif; ?>
          </div>
          <div class="h_t_r">
            <ul>
              <li>
                <a href="">订单查询</a>
                <span class="line"></span>
              </li>
              <li>
                <a href="">我的快乐购</a>
                <span class="line"></span>
              </li>
              <li>
                <i class="tel_icon"></i>
                <a href="">400-705-1111</a>
                <span class="line"></span>
              </li>
              <li>
                <a href="">下载快乐购app</a>
                <div class="down_load">
                                    <div class="down_border">
                                        <b class="icon_top"></b>
                                        <img style="" src="/Application/Home/Common/image/down_load_20160411.png">
                                        <p>快乐生活 快乐购</p>
                                    </div>
                                </div>
                <span class="line"></span>
              </li>
              <li class="cus_c_box">
                <a href="">客服中心</a>
                <div class="cus_center">
                                    <a href="">帮助中心</a>
                                    <a href="">会员反馈</a>
                                </div>
              </li>
            </ul>
          </div>
        </div>
      </div>
        <!--搜索-->
        
	<!-- /头部 -->
	
	<!-- 主体 -->
	

	<div class="full_sc">
            <div class="w1200 header_conter">
              <div class="h_c_logo">
                <a href="index.html">
                  <img src="/Application/Home/Common/image/logo.jpg"/>
                </a>
              </div>
              <div class="h_c_bz">
                <img src="/Application/Home/Common/image/top_center.jpg" style="width: 467px;29px"/>
              </div>
              <div class="h_c_search">
                <div class="search_input">
                  <form action="<?php echo U('Index/sou');?>" method="post">
                    <input type="text" style="color: rgb(102, 102, 102);" name="name" class="text_search" placeholder="<?php echo ($sjsp['0']['name']); ?>" value="" />
                    <input type="submit" class="btn_search" value="搜索"/>
                  </form>
                </div>
                <div class="search_key">
                  <ul>
                  <?php if(is_array($sjsp)): $i = 0; $__LIST__ = $sjsp;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li>
                      <a href="<?php echo U('Index/iemt',array('gid'=>$vo['id']));?>"><?php echo (msubstr($vo["name"],0,8)); ?></a>
                    </li><?php endforeach; endif; else: echo "" ;endif; ?>
                  </ul>
                </div>
              </div>
              <div class="h_c_right">
                <a href="" class="h_c_r_car">
                  <b class="b_car1"></b>
                  <span onclick="javascript:window.open('/Home/Car/index')"><i class="ci-count"><?php echo ((isset($goshu) && ($goshu !== ""))?($goshu):'0'); ?></i>我的购物车</span>
                  <b class="b_car2"></b>
                </a>
              </div>
            </div>
          </div>
        <!--菜单-->
        <div class="full_nav">
          <div class="w1200">
            <ul class="nav">
              <li class="li_all_type">
                <a href="">全部分类</a>
                <b class="b_down"></b>
              </li>
              <li class="home">
                <a href="<?php echo U('Index/index');?>" style="color: #C41F3A;">首页</a>
              </li>
              <li>
                <a href="refined.html">精选品牌</a>
              </li>
              <li>
                <a href="go.html">全球购</a>
              </li>
              <li>
                <a href="<?php echo U('Index/brand');?>">品牌馆</a>
              </li>
            </ul>
          </div>
          </div>
    </div>

<div id="" class="">

        
      <div class="full_big_eye">
          <!--菜单-->
        <div class="index_type">
          <ul class="index_type_ul">
          <?php if(is_array($category)): $i = 0; $__LIST__ = $category;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li>
                        <span><?php echo ($vo["title"]); ?> <b>></b></span>
                        <div class="nav_type_list" data="1">
                            <ul>
                                <?php if(is_array($vo['_'])): $i = 0; $__LIST__ = $vo['_'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('Index/listlie',array('case'=>$v['id']));?>"><?php echo ($v["title"]); ?></a></li>
                          
                                <ul>
                                <?php if(is_array($v['_'])): $i = 0; $__LIST__ = $v['_'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$c): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('Index/listlie',array('case'=>$c['id']));?>"><?php echo ($c["title"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
                                </ul><?php endforeach; endif; else: echo "" ;endif; ?>
                            </ul>
                        </div>
            </li><?php endforeach; endif; else: echo "" ;endif; ?>
            
                            </ul>
                        </div>
         
          <!--菜单-->
          <!--轮播图-->
          <div class="full_eye">
            <div id="inBaner">
              <ul class="big_eye_pic">
                <li style="display: block;">
                  <a href="" class="img_box">
                    <img src="/Application/Home/Common/image/web-101-101-1.jpg"/>
                  </a>
                </li>
                <li>
                  <a href="" class="tpl">
                    <img src="/Application/Home/Common/image/web-101-101-2.jpg"/>
                  </a>
                </li>
                <li>
                  <a href="" class="tpl">
                    <img src="/Application/Home/Common/image/web-101-101-3.jpg"/>
                  </a>
                </li>
                <li>
                  <a href="" class="tpl">
                    <img src="/Application/Home/Common/image/web-101-101-4.jpg"/>
                  </a>
                </li>
                <li>
                  <a href="" class="tpl">
                    <img src="/Application/Home/Common/image/web-101-101-5.jpg"/>
                  </a>
                </li>
              </ul>
              <div class="btn">
                  <ul>
                    <li class="cur"></li>
                    <li></li>
                    <li></li>
                    <li></li>
                    <li></li>
                  </ul>
              </div>
            </div>
          </div>
          <!--轮播图-->
      </div>
      
        
      <div class="w1200">
        <div class="her_top">
          <div class="her_title">
            <ul class="her_menu">
              <li class="current">
                <i class="today_zb_icon"></i>
                精选服饰
                <i class="jx_icon_down"></i>
              </li>
              <li>
                <i class="yesto_icon"></i>
                限时抢购
                <i class="jx_icon_down"></i>
              </li>
            </ul>
          </div>
            <div class="pro_con" style="display: block;">
              <div class="P_left">
                <div class="groDiv">
                  <div style="position: relative;overflow: hidden;">
                    <ul class="groUlOut">
                    <?php if(is_array($sjsp)): $i = 0; $__LIST__ = $sjsp;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li style="float: left;width: 224px;">
                        <div class="x">精选商品</div>
                        <a href="<?php echo U('Index/iemt',array('gid'=>$vo['id']));?>" class="pro">
                          <?php if(is_array($vo['pic']) ==true): ?><img src="/Uploads/<?php echo ($vo['pic']['0']); ?>"/></span></br>
                                                    <?php else: ?>
                  <img src="/Uploads/<?php echo ($vo["pic"]); ?>"/></span></br><?php endif; ?>
                        </a>
                        <p class="box_glay">
                          <a href="" class="pro_text">
                            <span><?php echo ($vo["name"]); ?></span>
                          </a>
                        </p>
                        <p class="p_num">
                          No.9195763
                        </p>
                        <div class="now_price">
                          <div class="price">
                            <span class="bigfont">
                              <span class="f_14">￥</span><span><?php echo ($vo["mprice"]); ?></span>
                            </span>
                            <span><del><?php echo ($vo["sprice"]); ?></del></span>
                            <div class="zk">4.8折</div>
                          </div>
                        </div>
                      </li><?php endforeach; endif; else: echo "" ;endif; ?>

                    </ul>
                  </div>
                </div>
              </div>
            </div>
            <div class="pro_con" style="display: none;">
              <div class="P_left">
                <div class="groDiv">
                  <div style="position: relative;overflow: hidden;">
                    <ul class="groUlOut">
                    <?php if(is_array($xsqg)): $i = 0; $__LIST__ = $xsqg;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li style="float: left;width: 224px;">
                      <div class="count-down-area">
                          <div class="timer default-bg">

                       <div class="djs_time" style="left: 0px;" data-countdown="<?php echo ($vo["endtime"]); ?>">
                      还剩<span id="divdown1"><?php echo (time_format($vo["endtime"])); ?></span>
                    </div>
                    </div>
                    </div>
                        <a href="<?php echo U('Index/iemt',array('gid'=>$vo['id']));?>" class="pro">
                         <?php if(is_array($vo['pic']) ==true): ?><img src="/Uploads/<?php echo ($vo['pic']['0']); ?>"/></span></br>
                                                    <?php else: ?>
                  <img src="/Uploads/<?php echo ($vo["pic"]); ?>"/></span></br><?php endif; ?>
                        </a>
                        <p class="box_glay">
                          <a href="" class="pro_text">
                            <span><?php echo ($vo["name"]); ?></span>
                          </a>
                        </p>
                        <p class="p_num">
                          No.9195763
                        </p>
                        <div class="now_price">
                          <div class="price">
                            <span class="bigfont">
                              <span class="f_14">￥</span><span><?php echo ($vo["mprice"]); ?></span>
                            </span>
                            <span><del><?php echo ($vo["sprice"]); ?></del></span>
                            <div class="zk">4.8折</div>
                          </div>
                        </div>
                      </li><?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                  </div>
                </div>
              </div>
            </div>
        </div>
          <!--第二区-->
          
          <!--第二区-->
          <!--第三区-->
          <div class="jinpin_box">
            <div class="qinha_title">
              <div class="v_h2">
                        <p class="h2_top">品类精选</p>
                        <p class="h2_bottom">品类齐全 轻松购物</p>
                    </div>
            </div>
            <ul class="jinpin_ul">
              <li>
                <a href=""><img src="/Application/Home/Common/image/jinpin_1.png"/></a>
                <a href="go.html" target="_blank" class="ppsx_tc">
                            <div class="ppsx_tc_xx">
                                <div class="ppsx_tc_xx1">
                                    <div class="ppsx_xx_zk"><span>79</span>元起</div>
                                    <div class="ppsx_xx_qg">立即抢购</div>
                                </div>
                            </div>
                        </a>
              </li>
              <li>
                <a href=""><img src="/Application/Home/Common/image/jinpin_2.png"/></a>
                <a href="go.html" target="_blank" class="ppsx_tc">
                            <div class="ppsx_tc_xx">
                                <div class="ppsx_tc_xx1">
                                    <div class="ppsx_xx_zk"><span>79</span>元起</div>
                                    <div class="ppsx_xx_qg">立即抢购</div>
                                </div>
                            </div>
                        </a>
              </li>
              <li>
                <a href=""><img src="/Application/Home/Common/image/jinpin_3.png"/></a>
                <a href="go.html" target="_blank" class="ppsx_tc">
                            <div class="ppsx_tc_xx">
                                <div class="ppsx_tc_xx1">
                                    <div class="ppsx_xx_zk"><span>79</span>元起</div>
                                    <div class="ppsx_xx_qg">立即抢购</div>
                                </div>
                            </div>
                        </a>
              </li>
              <li>
                <a href=""><img src="/Application/Home/Common/image/jinpin_4.png"/></a>
                <a href="go.html" target="_blank" class="ppsx_tc">
                            <div class="ppsx_tc_xx">
                                <div class="ppsx_tc_xx1">
                                    <div class="ppsx_xx_zk"><span>79</span>元起</div>
                                    <div class="ppsx_xx_qg">立即抢购</div>
                                </div>
                            </div>
                        </a>
              </li>
            </ul>
          </div>
          <!--第三区-->
          <!--第四区-->
          <div class="day_box">
            <div class="qinha_title">
              <div class="v_h2">
                <p class="h2_top">热卖商品</p>
                        <p class="h2_bottom">精致好物 更快乐的生活</p>
              </div>
            </div>
            <ul class="day_goods">
            <?php if(is_array($ishot)): $i = 0; $__LIST__ = $ishot;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li>
                <a href="<?php echo U('Index/iemt',array('gid'=>$vo['id']));?>" class="a_con_list">
                  <p class="p_img">
                   <?php if(is_array($vo['pic']) ==true): ?><img src="/Uploads/<?php echo ($vo['pic']['0']); ?>"/></span></br>
                                                    <?php else: ?>
                  <img src="/Uploads/<?php echo ($vo["pic"]); ?>"/></span></br><?php endif; ?>
                  </p>
                </a>
                <p class="p_title">
                  <span>【7.5折】</span><?php echo ($vo["name"]); ?>
                </p>
                <p class="p_p">
                  <span class="price1">￥<span><?php echo ($vo["mprice"]); ?></span></span>
                  <span class="price2"><del><?php echo ($vo["sprice"]); ?></del></span>
                  <a href="" class="gwc"></a>
                </p>
              </li><?php endforeach; endif; else: echo "" ;endif; ?>
              
            </ul>
          </div>
          <!--第四区-->
      </div>
      
      <!--商品区-->
      <!--下拉搜索-->
      <div id="nav" class="search_fixed">
        <div class="w1200">
          <div class="s_fixed_l"><img src="/Application/Home/Common/image/search_logo.png"/></div>
          <div class="s_fixed_r">
            <form action="" method="post">
                        <input placeholder="lumi 胶原蛋白" autocomplete="off" class="txt_f_sb" name="keyword" type="text">
                        <input value="搜索" class="f_btn_search" style="cursor:pointer" type="button">
            </form>
          </div>
        </div>
      </div>
      
   
       
      <div class="fixed_dh">
        <div class="f_r_top">
          <div class="top_i" onclick="javascript:window.open('http://o.me/Home/User/index.html')">
              <i class="icon_user"></i>
             
              <span >账号</span>
            
          </div>
          <div class="f_line">
            <p class="f_line1"></p>
            <p class="f_line2"></p>
          </div>
          <div class="f_gwc">
            <a href="">
              <i class="icon_car"></i>
                <span>购物车</span>
                
            </a>
          </div>
          <div class="f_line">
            <p class="f_line1"></p>
            <p class="f_line2"></p>
          </div>
          <div class="top_i">
              <i class="icon_collect"></i>
              <span>收藏</span>
          </div>
        </div>
          <div class="f_bottom">
            <div class="f_sao">
              <div class="sao">
              <i class="ewm_img"></i>
              <div class="ewm_tc">
                    <div class="ewm_tc_bg">
                        <div class="down_app_icon"></div>
                        <img src="/Application/Home/Common/image/down_app_ewm.png">
                    </div>
              </div>
            </div>
            <div class="f_ke">
              <i class="online_cus"></i>
            </div>
            <div class="top_is">
              <a href="javascipt:;">
                <i class="retrun_top"></i>
              </a>
          </div>
          </div>
      </div>
      
</div>



<script type="text/javascript">
    $(function(){
        $(window).resize(function(){
            $("#main-container").css("min-height", $(window).height() - 343);
        }).resize();
    })
</script>
	<!-- /主体 -->

	<!-- 底部 -->
	<div class="footer">
        <div class="footer_b w1200"><img src="/Application/Home/Common/image/foot_img1.jpg"/></div>
        <div class="footer_help w1200">
          <div class="footer1_l">
            <dl class="helpDl">
              <dt><h5>使用帮助</h5></dt>
              <dd><a href="">税费收取规则 </a></dd>
              <dd><a href="">新手指南 </a></dd>
                <dd><a href="">常见问题 </a></dd>
              <dd><a href="">用户协议 </a></dd>
            </dl>
            <dl class="helpDl">
              <dt><h5>会员服务</h5></dt>
              <dd><a href="">积分政策  </a></dd>
              <dd><a href="">会员权益  </a></dd>
                <dd><a href="">会员等级  </a></dd>
            </dl>
            <dl class="helpDl">
              <dt><h5>支付方式</h5></dt>
              <dd><a href="">积分支付  </a></dd>
              <dd><a href="">货到付款  </a></dd>
                <dd><a href="">在线支付  </a></dd>
              <dd><a href="">优惠券支付  </a></dd>
            </dl>
            <dl class="helpDl">
              <dt><h5>配送方式</h5></dt>
              <dd><a href="">包邮政策   </a></dd>
              <dd><a href="">费用说明   </a></dd>
                <dd><a href="">配送说明   </a></dd>
            </dl>
            <dl class="helpDl">
              <dt><h5>售后服务</h5></dt>
              <dd><a href="">电子发票   </a></dd>
              <dd><a href="">售后咨询   </a></dd>
                <dd><a href="">退货办理   </a></dd>
              <dd><a href="">退货政策   </a></dd>
            </dl>
          </div>
          <div class="footer1_r">
            <ul>
              <li>
                <h2>手机快乐购</h2>
                <img src="/Application/Home/Common/image/footer_ewm_01.png"/>
                <p>下载移动客户端</p>
              </li>
              <li>
                <h2>快乐购微信</h2>
                <img src="/Application/Home/Common/image/footer_ewm_02.png"/>
                            <p>快乐购官方微信</p>
              </li>
            </ul>
          </div>
        </div>
          <div class="footer_nav">
            <div class="w720">
              <ul>
                <li>
                  <a href="">关于快乐购 </a>
                  <span class="line"></span>
                </li>
                <li>
                  <a href="">投资者关系 </a>
                  <span class="line"></span>
                </li>
                <li>
                  <a href="">商家入驻  </a>
                  <span class="line"></span>
                </li>
                <li>
                  <a href="">联系我们 </a>
                  <span class="line"></span>
                </li>
              </ul>
            </div>
          </div>
          <div class="footer_bottom">
            <div class="w1200">
              <p>
                <span class="font_arial">Copyright© 2006-2016 happigo. All Rights Reserved </span>
                                           免费服务热线: 400-705-1111 | 固话也可拨打: 800-705-1111
                        <span class="font_arial">E-Mail: service@happigo.com</span><br>
                                           湘ICP备12000157号 信息网络传播视听节目许可证号：1810530
              </p>
              <p class="footer_b">
                <a href="http://www.itrust.org.cn/home/index/itrust_certifi/wm/2782875193.html">
                  <img src="/Application/Home/Common/image/foot_img3.png"/>
                </a>
                <a href="https://search.szfw.org/cert/l/CX20150428007576007720">
                  <img src="/Application/Home/Common/image/foot_img4.png"/>
                </a>
              </p>
            </div>
          </div>
      </div>


    <script type="text/javascript">
(function(){
	var ThinkPHP = window.Think = {
		"ROOT"   : "", //当前网站地址
		"APP"    : "", //当前项目地址
		"PUBLIC" : "/Public", //项目公共目录地址
		"DEEP"   : "<?php echo C('URL_PATHINFO_DEPR');?>", //PATHINFO分割符
		"MODEL"  : ["<?php echo C('URL_MODEL');?>", "<?php echo C('URL_CASE_INSENSITIVE');?>", "<?php echo C('URL_HTML_SUFFIX');?>"],
		"VAR"    : ["<?php echo C('VAR_MODULE');?>", "<?php echo C('VAR_CONTROLLER');?>", "<?php echo C('VAR_ACTION');?>"]
	}
})();
</script>
  

    <script type="text/javascript">
      $(function(){
        //轮播图效果
        var c = 0;
        //加一个时间事件
        function timer(){
            //获得序号
            c++;
            if(c==6){
              c=0;
            }
//            alert(c);
            //让自己显示，兄弟元素隐藏
            $("#inBaner .big_eye_pic li").eq(c).stop().fadeIn(1800).siblings().fadeOut(800);
            //改变颜色
            $("#inBaner .btn ul li").eq(c).stop().addClass("cur").siblings().removeClass("cur");
        }
        time = setInterval(timer,2000);
        //给图片添加一个移入移出效果
        $("#inBaner").hover(function(){
          //停止时间
          clearInterval(time);
        },function(){
          //时间继续
          time = setInterval(timer,2000);
        });
        //给色块添加一个移入移出事件
        $("#inBaner .btn ul li").mouseenter(function(){
          var n = $(this).index();
          //让第一个人图片显示 其余的隐藏
          $("#inBaner .big_eye_pic li").eq(n).stop().show().siblings().hide();
          //改变颜色
          $("#inBaner .btn ul li").eq(n).stop().addClass("cur").siblings().removeClass("cur");
        });
        //添加一个点击事件
        $(".her_top .her_title .her_menu li").click(function(){
          var n = $(this).index();
          //切换颜色
          $(".her_menu li").eq(n).addClass("current").siblings().removeClass("current");
          //切换商品
          $(".her_top .pro_con").eq(n).show().siblings(".pro_con").hide();
        })
        //搜索框下滑
        $(window).scroll(function(){
          //获得滚动条距离顶部距离
          var t = $(document).scrollTop();
              document.title = t;
              if(t>530){
                $("#nav").show();
              }else{
                $("#nav").hide();
              }
        });
      });
    </script>
    <script language="javascript" type="text/javascript"> 
      var interval = 1000; 
      function ShowCountDown(year,month,day,divname) 
      { 
      var now = new Date(); 

      var endDate = new Date(year, month-1, day); 
      var leftTime=endDate.getTime()-now.getTime(); 
      
      var leftsecond = parseInt(leftTime/1000); 
      //var day1=parseInt(leftsecond/(24*60*60*6)); 
      var day1=Math.floor(leftsecond/(60*60*24)); 
      var hour=Math.floor((leftsecond-day1*24*60*60)/3600); 
      var minute=Math.floor((leftsecond-day1*24*60*60-hour*3600)/60); 
      var second=Math.floor(leftsecond-day1*24*60*60-hour*3600-minute*60); 
      var cc = document.getElementById(divname); 
      cc.innerHTML = day1+"天"+hour+"小时"+minute+"分"+second+"秒"; 
      } 
      // window.setInterval(function(){ShowCountDown(2010,4,20,'divdown1');}, interval); 
</script> 

    <block name="header"> <!-- 用于加载js代码 -->
<!-- 页面footer钩子，一般用于加载插件JS文件和JS代码 -->
<?php echo hook('pageFooter', 'widget');?>
<div class="hidden"><!-- 用于加载统计代码等隐藏元素 -->
  
</div>
	<!-- /底部 -->
</body>
</html>